import { createApp } from 'vue'
import App from './App.vue'
import router from './router/index'
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css'
import store from './store/index'
import locale from 'element-plus/lib/locale/lang/zh-cn';
import Vue3Tinymce from '@jsdawn/vue3-tinymce';
import 'tinymce/skins/ui/oxide/skin.css'

// 创建app
const app = createApp(App)

// 注入路由
app.use(router)
app.use(ElementPlus, { locale })
app.use(store)
app.use(Vue3Tinymce)


// 挂载实例
app.mount('#app')
